package com.icesoft.system.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.icesoft.framework.core.annotation.Entity;
import com.icesoft.framework.core.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * 文章类型
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("tb_article_type")
@Entity(module = "system", describe = "文章类型")
public class ArticleType extends BaseEntity{

    @TableField
    @Column(value = "name", comment = "名称")
    private String name;

    @TableField
    @Column(value = "color", comment = "颜色")
    private String color;

    @TableField(fill = FieldFill.INSERT)
    @Column(value = "company_id", comment = "公司")
    private java.lang.Long companyId;

}
